package com.shilan.dllo.wangyi.application;

import android.app.Application;
import android.content.Context;

/**
 * Created by dllo on 15/10/23.
 *
 * application作用 承接上下文关系
 */
public class MyApplication extends Application {
    private  static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = this;
        context = getContext();
    }

    public  static  Context getContext(){
        return context;
    }
}
